home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / UCRASM25.ARJ / LIST.ONE < prev    next >
Text File  |  1991-10-13  |  385b  |  20 lines

  1. ;
  2. ; Listing One- Printf macro.
  3. ;
  4. Printf        macro
  5. ;
  6. ; The following extrn declaration only occurs if this is the first time
  7. ; printf appears in the source file.
  8. ;
  9.         ifndef    sl_printf
  10. stdlib        segment    para public 'slcode'
  11.         extrn    sl_printf:far
  12. stdlib        ends                
  13.         endif
  14. ;
  15. ; Perform the call to the actual sl_printf routine:
  16. ;
  17.         call    far ptr sl_printf
  18.         endm
  19. ;
  20.